Star Wars Characters

Column

Chart A

Data Source: dplyr::starwars

Easy Plotly & Time Series

via ggplot2

Plotly via ggplotly()

Data Source: https://fivethirtyeight.com

Hurricane Origins

Column

Data Source: Practice Dataset

Animate

gganimate – Choropleth to Cartogram of population growth in Africa, 2005

Animation: Choropleth to Cartogram of population growth in Africa, 2005

Another option is to annimate a plot. We don’t discuss that in this workshop, but you can look at the gganimate page to learn more. Image Credit: https://www.r-graph-gallery.com/cartogram/

Resources

Column

Library Packages

Used in this Workshop

  • flexdashboard documentation – Manage dashboard layouts (includes gauges)
  • crosstalk documentation – Enables linked brushing i.e. shared data

    • Compatible/Interactive CrossTalk enabled HTML Widgets:
    • plotly – (easies: ggpplotly(ggpplot_object))
    • DT – displays tabular data
    • leaflet – shows maps
    • summarywidget (sum, mean, count, etc.)
  • More HTML Widgets. For example: dygraphs for time series, plus a whole passel of other widgets in the gallery

See Also

Storyboards and other gallery examples by Flexdashboards

Books (Online Documentation)

Plotly for R by Carson Sievert

R Markdown: The Definitive Guide by Yihui Xie, J. J. Allaire, Garrett Grolemund. Covering Dashboards: components, gauges, value boxes – Chapter 5 ; HTML Widgets – Chapter 16

Box A

6

Distinct Eye Colors

Column

Box 1

3

Packages

Interactivity

Simplity

Cost

Gauges are visual!